<script>
import Vue from 'vue';
export default {
	onLaunch: function() {
		console.log('App Launch');
		uni.getSystemInfo({
			success: e => {
				Vue.prototype.statusHeight = e.statusBarHeight;
				Vue.prototype.screenHeight = e.screenHeight;
				Vue.prototype.screenWidth = e.screenWidth;
				Vue.prototype.platform = e.platform;
				Vue.prototype.widthRatio = e.screenWidth / 750;
			}
		});
	},
	onShow: function() {
		console.log('App Show');
	},
	onHide: function() {
		console.log('App Hide');
	}
};
</script>

<style lang="scss">
	// 全局CSS样式在这里引入
</style>
